package co.yixiang.modules.shop.mapper;

import co.yixiang.modules.shop.entity.DictDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface DictDetailMapper extends BaseMapper<DictDetail> {



    DictDetail findDictDetail(String say_add_times);

    @Select("select * from dict_detail a inner join dict b on a.dict_id=b.id where b.name=#{name}")
    List<DictDetail> findDictName(@Param("name") String name);
}
